/**
* 小程序；首页
*/
<template>
	<view class="page">
		<HongBao class="hongbao"></HongBao>
		<Loading class="loading" v-show="!isLoading" :isStatus='loadStatus'></Loading>
		<couponVue class="packBox" ref="RedPack" @changeStatus="changeStatu"></couponVue>
		<scroll-view scroll-y class="box">
			<view class="animation-slide-bottom">
				<Rotation :dat='lunBoData' v-if="lunBoData.length>0"></Rotation>
			</view>
			<view class="listBox">
				<view class="listCard animation-slide-bottom"  v-for="(item,index) in courseList" :style="[{animationDelay: (index + 1)*0.1 + 's'}]" @click="toGoods(item.id)">
					<view class="listImgBox">
						<image class="imgBox" :src="item.cover" mode="aspectFill" lazy-load="true"></image>
						
					</view>
					<view class="listXiBox">
						<view class="titleBox">
							{{item.title}}
						</view>
						
						<view class="titleBox1" v-html="item.intro_list" >
						
						</view>
						<view class="priceBox">
							<text class="text-price text-red">{{item.price}}</text>
						</view>
						<view  class="list-text-desc">
							{{item.enrollment}} 人已报名
						</view>
					</view>		
				</view>
			
			</view>
             <view class="footBox" :style="{height:footH+'px'}">
           
             </view>
		</scroll-view>

	</view>
</template>

<script src="./index.js"></script>

<style>
	@import "index.css";
</style>
